#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
	int n;
	cin >> n;
	int arr[1000];
	for (int i = 0; i < n; i++)
	{
		cin >> arr[i];
	}
	int t = 0;
	for (int i = 1; i < n; i++)
	{
		if (arr[t] > arr[i])
		{
			t = i;
		}
	}
	printf("Minimum value: %d\n", arr[t]);
	printf("Position: %d", t);
	return 0;
}